package com.jsftoolkit.utils.xmlpull;

/**
 * Signals the end tag of an XML element.
 * 
 * @author noah
 * 
 */
public class EndElement implements PullEvent {

	public static final int TYPE = 6;

	private final String name;

	/**
	 * 
	 * @param name name of the tag 
	 */
	public EndElement(final String name) {
		super();
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public short getType() {
		return TYPE;
	}

}
